Cross-checking of transthoracic impedence and acceleration signals

ABSTRACT

A first chamber minute ventilation rate is determined based on a first transthoracic impedance signal received from a first chamber of a heart and a second chamber minute ventilation rate is determined based on a second transthoracic impedance signal received from a second chamber of the heart. A processor compares the minute ventilation rates to determine a rate. In one embodiment, an accelerometer sensor provides data for evaluating propriety of a rate. Before implementing a rate change, signals from multiple sensors are cross-checked.

RELATED APPLICATIONS

This document is related to co-pending and commonly assigned U.S. Provisional Patent Application Ser. No. 60/437,356, entitled “AUTOMATICALLY CONFIGURABLE MINUTE VENTILATION SENSOR,” inventor Scott Freeberg, filed Dec. 30, 2002, the specification of which is hereby incorporated by reference in its entirety.

This document is related to co-pending and commonly assigned U.S. patent application Ser. No. 10/268,023, entitled “RATE ADAPTIVE CARDIAC RHYTHM MANAGEMENT DEVICE USING TRANSTHORACIC IMPEDANCE,” filed Oct. 8, 2002, which is a continuation of U.S. patent application Ser. No. 09/492,912, filed Jan. 20, 2000, now U.S. Pat. No. 6,463,326, which is a continuation of U.S. patent application Ser. No. 09/316,690, filed May 21, 1999, now U.S. Pat. No. 6,161,042, which is a divisional of U.S. patent application Ser. No. 09/032,731, filed Feb. 27, 1998, now U.S. Pat. No. 6,076,015, the specifications of which are each incorporated by reference herein.

TECHNICAL FIELD

This document relates generally to transthoracic minute ventilation and acceleration for purposes of cardiac rhythm management and in particular, but not by way of limitation, to detection and discrimination of arrhythmias in an implantable medical device.

BACKGROUND

Implantable medical devices are used for treating cardiac dysfunction. Cardiac pacemakers, for example, are implantable medical devices that replace or supplement a heart's compromised ability to pace itself by delivering electrical pacing pulses to the heart.

Rate controlled pacemakers are operated in accordance with a measured physiological variable that corresponds to exertion level and is reflective of the body's metabolic rate. Minute ventilation is an indicator of the rate of oxygen consumption and thus, exertion level. Minute ventilation corresponds to the amount of air breathed by a subject over a minute, or other specified period of time, and can be computed as the product of respiratory rate and tidal volume.

An impedance measurement technique is sometimes used for measuring minute ventilation. The blood and body fluids within the thoracic cavity constitute a volume conductor. The electrical impedance between two points in the thoracic cavity is dependent upon the volume of blood or air between those points. The impedance can be measured by generating a constant current field within the cavity and then measuring the potential difference between the two points.

Interference with the impedance signal, for example, by environmental noise, however, can compromise the ability of the impedance measurement to accurately reflect the patient's actual ventilation. Interference may also result from an intermittent lead, poor lead placement, lead maturation, lead migration or a poor baseline. Such interference may result in delivery of improper pacing. For example, a dislodged lead may erroneously call for an increased pacing rate. As another example, an increased pacing rate may be indicated by an accelerometer responding to a bump detected while driving in an automobile.

SUMMARY

The present subject matter provides an implantable cardiac rhythm management device adapted to measure minute ventilation and a physical activity level. For example, in one embodiment, a first minute ventilation rate is determined based on a transthoracic impedance measured in a first chamber (for instance, an atrial chamber) of the heart and second minute ventilation rate is determined based on a transthoracic impedance measured in a second chamber (for instance a ventricular chamber) of the heart. As a consequence of the two ventilation rates, the actual rate response of therapy is adjusted. In one embodiment, the second minute ventilation rate is used to confirm the appropriateness of therapy before the altering the sensor driven rate.

The present subject matter includes structures and methods for receiving multiple input signals (for example, multiple chamber minute ventilation rates and accelerometers) and selecting appropriate inputs based on comparing the different input signals. Aberrant input signal sources are selectively disabled, discarded or disregarded.

Other aspects of the invention will be apparent on reading the following detailed description of the invention and viewing the drawings that form a part thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

In the drawings, like numerals describe substantially similar components throughout the several views. Like numerals having different letter suffixes represent different instances of substantially similar components.

FIG. 1 illustrates a block diagram of an implantable cardiac rhythm management system according to one embodiment of the present subject matter.

FIG. 2 illustrates a method according to one embodiment of the present subject matter.

FIG. 3 illustrates a method according to one embodiment of the present subject matter.

DETAILED DESCRIPTION

In the following detailed description, reference is made to the accompanying drawings that form a part hereof, and in which is shown, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that the embodiments may be combined, or that other embodiments may be utilized and that structural, logical and electrical changes may be made without departing from the scope of the present subject matter. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims and their equivalents.

This document discloses, among other things, systems, method and apparatus involving cardiac rhythm management systems used for sensing a cardiac signal, including intracardiac electrogram or surface electrocardiogram (ECG). Such cardiac rhythm management systems include, but are not limited to, pacemakers, cardiac resychronization therapy (CRT) devices, cardioverter/defibrillators, pacer/defibrillators, and drug delivery devices. However, it is to be understood that the present methods and apparatuses of compressing a signal can be applied to heart beat detection as well as other signals related to cardiac activities, including, but not being limited to, mechanical motion, sound, pressure, acceleration, and impedance signals.

Normally, the sensor driven rate from atrial minute ventilation is nearly identical to that of the sensor driven rate from ventricular minute ventilation, however electrode problems and cardiac health can produce measurable differences in the ventilation rates.

In one embodiment, a primary minute ventilation sensor is used to determine therapy and after a predetermined number of measurement cycles, a secondary minute ventilation sensor is measured. The primary minute ventilation sensor is configured to measure transthoracic impedance in first chamber of a heart and the secondary minute ventilation sensor is configured to measure transthoracic impedance in a second chamber of the heart. If the rate from the primary sensor differs from the rate of the secondary sensor, then this is an indication of an anomaly. In one embodiment, a third sensor is used to cross check performance of the first sensor and second sensor and determine which sensor is to be ignored or discounted. In one embodiment, an error code is generated and stored. In one embodiment, an alert signal is generated and communicated to an external device or programmer. In one embodiment, on detecting a difference, the most recent pacing rate is maintained despite the disagreement in sensor readings. For example, in the event that the sensor rates differ, the primary minute ventilation sensor rate calculation is frozen for that particular cycle. By maintaining the current pacing rate, the patient can avoid a rate bump caused by the alternate chamber measurement.

In one embodiment, minute ventilation sensor data is stored from both the primary and secondary chamber. The stored data is available for further analysis and cross checking.

The transthoracic impedance is measured using a first set of electrodes responsive to a first chamber of a heart and using a second set of electrodes responsive to a second chamber of the heart. The impedance signals received from each set of electrodes are processed to determine a minute ventilation rate. The physical activity level is measured by an accelerometer disposed in the implanted device.

Minute ventilation data and acceleration data is cross-checked to determine appropriateness of a pacing rate delivered to the heart. A sensor providing a signal inconsistent with signals received from other sensors is disregarded in determining a pacing rate. In various embodiments, pacing may be interrupted, decelerated or accelerated depending on the sensor signals.

FIG. 1 illustrates a block diagram of system 100 according to one embodiment of the present subject matter. In the figure, interface circuit 130 is coupled to first electrode set 115, second electrode set 125, accelerometer 110 and processor 140. Processor 140 is also coupled to memory 145, telemetry module 150 and therapy circuit 155.

Selected components of system 100 are housed within a hermetically sealed container of housing 90. In one embodiment, system 100 is suitable for implantation in a body. For example, in one embodiment, housing 90 is coupled to first electrode set 115 and second electrode set 125 by at least one lead.

First electrode set 115 is configured to receive a transthoracic signal associated with a first chamber of a heart. The chambers of the heart include the right atrium, the right ventricular, the left atrium and the left ventricular. In one embodiment, first electrode set 115 is configured to determine an impedance in an atrial chamber. Impedance is determined by sensing a voltage between a first pair of electrodes while a field is generated by a current applied using a second pair of electrodes.

In one embodiment, first electrode set 115 includes electrodes for generating a transthoracic excitation current field and electrodes for sensing a voltage. For example, in one embodiment, the current source is generated between a lead ring electrode and a first conductive surface of housing 90 (sometimes referred to as a case electrode) and a voltage is sensed between a second conductive surface of housing 90 (sometimes referred to as an indifferent electrode) and lead tip.

First electrode set 115 is positioned to both generate the excitation field and sense a voltage within a first chamber of the heart. A voltage detected by first electrode set 115 is supplied to interface circuit 130.

Second electrode set 125 is configured to receive a transthoracic signal associated with a second chamber of the heart. As with first electrode set 115, second electrode set 125 includes a number of electrodes, including, for example, a tip electrode, a ring electrode, a case electrode and an indifferent electrode. In one embodiment, first electrode set 115 and second electrode set 125 share one or more electrodes in common and they differ in the placement of the individual tip and ring electrodes used for generating a excitation current field and sensing voltages. As with first electrode set 115, second electrode set 125 is coupled to interface circuit 130.

In one embodiment, first electrode set 115 and second electrode set 125 are both coupled to the same chamber of the heart.

Interface circuit 130 provides a coupling between first electrode set 115 and second electrode set 125 and processor 140. In various embodiments, interface circuit 130 includes any combination of a MOS switching matrix, an analog to digital converter, a digital to analog converter, an amplifier, channel interfaces, a signal processor, a comparator, a demodulator, a counter, a clock, a processor or other circuitry. In one embodiment, interface circuit 130 includes an exciter circuit configured to provide a transthoracic excitation current field. The exciter circuit is controlled by processor 140.

Accelerometer 110, in one embodiment, includes an integrated silicon element that is bonded to a ceramic circuit board within housing 90 having a mass flexibly supported by four leaf springs attached to a frame. The leaf springs each include a piezoresistive element which forms the four legs of a Wheatstone bridge. The bridge becomes unbalanced when the mass is displaced by an acceleration force in a direction perpendicular to the frame.

The Wheatstone bridge is energized in a pulse mode by a predetermined voltage applied for a short period of time and at a predetermined repetition rate. The output from accelerometer 110 is amplified and filtered to remove motion artifacts from noise sources while allowing passage of signal components whose frequencies are related to body motion due to physical activity. The output from the band-pass filter is digitized and signal processed. In one embodiment, interface circuit 130 includes an amplifier, a filter and an analog-to-digital converter and signal processing is performed by processor 140.

In one embodiment, interface circuit 130 both supplies an excitation current and receives a voltage signal via electrodes of first electrode set 115 and second electrode set 125. In addition, interface circuit 130 receives an acceleration signal from accelerometer 110. As a function of the signals received by the first electrode set 115, second electrode set 125 and accelerometer 110, a digital output signal is supplied to processor 140.

Interface circuit 130 and processor 140 operate together to detect changes in transthoracic impedance within the heart. Impedance is measured by sending a low level oscillating electrical signal to selected electrodes of first electrode set 115 or second electrode set 125. The oscillating electrical signal is modulated by the activity of the heart chamber to which the electrode set is connected. The modulated signal is then detected, amplified and demodulated to remove the modulation signal. The remaining envelope signal corresponds to an analog measure of instantaneous impedance as a function of time.

The instantaneous impedance signal is digitized. In one embodiment, the digitized impedance versus time signal is subjected to further filtering or signal processing.

Memory 145 provides program and data storage for processor 140. The program stored in memory 145, and executed by processor 140, is configured to cause system 100 to perform a method as described elsewhere in this document. Stored data may include parameters for providing an excitation signal, measured voltages and signals, impedance measurements, timing information, acceleration information and other data.

Telemetry 150 allows system 100 to wirelessly communicate with an external programmer. Telemetry 150 may include an inductive loop coupling coil, a radio frequency antenna or other means of transdermally communicating. In one embodiment, telemetry 150 allows uni-directional communication and thus, data from system 100 can be transmitted to an external programmer or other device. In one embodiment, telemetry 150 allows bi-directional communication and thus, data or programming can be transmitted to system 100 in addition to allowing data to be transmitted from system 100.

Therapy circuit 155 provides therapy to the heart or other organ as a function of a signal received from processor 140. In one embodiment, therapy circuit 155 includes a pulse generator and provides an electrical signal to the heart. The electrical signal, in one embodiment, is provided to the heart via either first electrode set 115, second electrode set 125, or by another electrode set. In one embodiment, therapy circuit 155 includes a drug delivery circuit configured to release a medicament into an organ of the body.

FIG. 2 illustrates method 200 according to one embodiment of the present subject matter. At 205, an excitation field is generated in the heart. A current is delivered using two conductors of the electrode set. The excitation field may be generated in one, two or more chambers of the heart. The field is cycled to and if applied to multiple chambers of the heart, the field is modulated at different frequencies that can be subsequently demodulated and filtered.

At 210, the transthoracic impedance of the first chamber is measured using two conductors of the electrode set. The impedance is measured by sensing a voltage generated as a consequence of the heart activity and the excitation field. At 215, the transthoracic impedance of the second chamber is measured.

At 220, a first acceleration signal is generated, and at 225, a second acceleration signal is generated. The acceleration signals are derived from semiconductor structures disposed within the implanted device. In one embodiment, the acceleration signals are derived from accelerometers having aligned axis of sensitivity. In one embodiment, the acceleration signals are derived from accelerometers having axis of sensitivity that are perpendicular, or otherwise not aligned.

At 230, the input signals are compared. The input signals include the first chamber minute ventilation rate, the second chamber minute ventilation rate, the first accelerometer signal and the second accelerometer signal. In one embodiment, a program executing on processor 140 performs the comparison and determines a rate for further pacing. In various embodiments, different algorithms are executed in selecting a pacing rate as a function of the input signals.

At 235, in one embodiment, processor 140 selects sensors for further monitoring and deselects those sensors generating incorrect data. Therapy is delivered at 240 as a function of the data generated by the selected sensors.

Multiple input signals affords the opportunity to implement different algorithms for establishing a pacing rate. In one embodiment, the algorithm to be implemented is remotely programmable and remotely selectable by wireless communication conducted via telemetry 150. For example, in one embodiment, the pacing rate is determined independent of the first chamber minute ventilation rate and the second chamber minute ventilation rate at times when the ventilation rates are not in agreement. In one embodiment, an algorithm is executed to determine which chamber is providing an appropriate ventilation rate and pacing is delivered as a function of the rate from the selected chamber. In one embodiment, a pacing rate is adjusted based on the differences between the measured ventilation rates in the different chambers. In one embodiment, adjustments to therapy are precluded based on differences between the measured ventilation rates in the different chambers.

In one embodiment, the first chamber minute ventilation rate and the second chamber minute ventilation rate is cross checked with a first acceleration signal from a first accelerometer. In one embodiment, the first chamber minute ventilation rate and the second chamber minute ventilation rate is cross checked with both a first acceleration signal from a first accelerometer and a second acceleration signal from a second accelerometer.

In one embodiment, a first accelerometer signal and a second accelerometer signal is cross checked with a first chamber minute ventilation rate. In one embodiment, the first accelerometer signal and the second accelerometer signal is cross checked with both a first chamber minute ventilation rate and a second chamber minute ventilation rate.

In one embodiment, if the response from the active chamber minute ventilation sensor is similar to the response from the inactive chamber minute ventilation sensor, for a particular minute ventilation tidal volume (or respiratory rate), then processor executes an algorithm to determine that the rate from the active sensor is appropriate.

In one embodiment, if the minute ventilation rate from the first chamber is substantially different than that of the second chamber rate, then the processor executes a program to determine which rate is appropriate. In one embodiment, an accelerometer signal is used to cross-check a minute ventilation rate. For example, if the minute ventilation rates from both chambers is not in agreement, then the accelerometer signal is used as an arbiter to determine which minute ventilation rate is appropriate. For instance, at a time when a first minute ventilation signal indicates a high rate and a second minute ventilation signal indicates a generally normal level, then the data from the accelerometer is used to determine which of the two minute ventilation signals is more reliable.

In one embodiment, if the data indicates that the patient is experiencing respiratory distress (as indicated by a high respiratory rate, gasping or a high tidal volume), then, the present subject matter is programmed to suspend attempts to elevate the minute ventilation driving pacing rate.

In one embodiment, if the active chamber minute ventilation response is resulting in a high rate pacing, (for example, at maximum sensor rate) and if the inactive chamber minute ventilation response would have resulted in moderate pacing, then the present subject matter is programmed to determine whether to use the active chamber minute ventilation rate. In addition, an acceleration signal may be used to cross-check the selected rate.

In one embodiment, if an active minute ventilation sensor is driven at a high rate, (such as maximum sensor rate) and an inactive sensor response yielding a moderate rate and an accelerometer indicates a moderate response, then the present subject matter would indicate that a high pacing rate is inappropriate.

FIG. 3 illustrates method 300 according to one embodiment of the present subject matter. Method 300 begins at 305 and proceeds with monitoring of a first sensor at 310 and a second sensor at 315. At 320, a query is evaluated to determine if the first sensor signal is similar to the second sensor signal. If sufficiently similar, then, at 340, a pacing therapy (as determined by a primary sensor) is either started or continued. In one embodiment, the primary sensor is either the first or second sensor. If the signals from the first and second sensors are not sufficiently similar, then a signal from a third sensor is monitored as shown at 325. At 330, the signal from the third sensor is used to arbitrate between the first and second sensor. In one embodiment, data from other sensors is used to arbitrate amongst the signals from the first, second and third sensors. As a consequence of the arbitration determination, an arbitration therapy regimen is selected and delivered as shown at 335. Following delivery of the arbitration therapy (at 335) or delivery of the primary sensor pacing therapy (as shown at 340), processing continues and returns to monitoring the first and second sensor, at 310 and 315 respectively.

Other configurations are also contemplated. For example, in one embodiment, therapy is delivered according to a signal received from a first sensor and after a predetermined time, a signal from a second sensor is used to cross-check the first sensor. If the signal from the second sensor is substantially different, then a third sensor, of a different type, is used to cross-check and determine if the first or second sensor signal is the more reliable signal. Therapy is delivered based on the determination of which sensor is more reliable. In one embodiment, data from other sources may also be used in evaluating the propriety of any particular sensor.

In various embodiments, the first, second and third sensors are any combination of sensors including impedance sensors (minute ventilation) and accelerometers.

Alternative Embodiments

In one embodiment, the excitation signal is applied to alternate chambers of the heart. In one embodiment, the present subject matter monitors a particular minute ventilation rate derived from a selected chamber until such time that the sensor provides inappropriate information, as determined by a comparison with a second chamber or from a second sensor. In one embodiment, the present subject matter monitors two or more sensors (or chambers), either alternately or substantially simultaneously. Simultaneous monitoring of minute ventilation, in one embodiment, entails using different excitation frequencies and discerning the different chambers by filtering.

In addition to accelerometer sensors, other sensors are also contemplated for cross-checking the data from the minute ventilation rate sensors. For example, in one embodiment, a blood pressure sensor provides a signal for cross-checking. Such sensors may be described as an adaptive rate therapy sensor, other examples of which include a respiratory sensor, a QT interval sensor, a contractility sensor and a depoloratization sensor.

According to the present subject matter, for example, a minute ventilation signal (either derived from one or two chambers) is used to cross-check an accelerometer sensor signal. According to one embodiment, for example, an accelerometer sensor signal (derived from one or two accelerometers) is used to cross-check a minute ventilation signal (derived from either one or two chambers).

In one embodiment, a first and second accelerometer are included within housing 90. A second accelerometer serves as a back-up for a first accelerometer.

In one embodiment, a first and second accelerometer are included within housing 90. The first accelerometer has an axis of sensitivity aligned along a first direction and the second accelerometer has an axis of sensitivity aligned along a second direction. The first direction differs from the second direction.

In various embodiments, processor 140 includes a digital signal processor, a microprocessor, an analog processor, logic gates, and analog circuitry.

An accelerometer provides an acceleration signal in response to a detected acceleration. In one embodiment, the accelerometer is disposed within an implanted medical device and provides an acceleration signal associated with an acceleration of the medical device. Thus, an acceleration experienced by the body of the patient, in general, or a particular organ, specifically, will yield an acceleration signal.

A minute ventilation sensor, as described herein, provides a measure of a breathing rate based on a transthoracic impedance measurement associated with a particular chamber of the heart. For example, in one embodiment, the housing of an implanted medical device serves as one electrode for measuring the impedance and a second electrode is coupled to circuitry within the medical device. The particular chamber of the heart for which a transthoracic impedance is associated is determined by placement of the second electrode.

CONCLUSION

The above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. 

1. A device comprising: an exciter to generate a current field in a heart; a first pair of electrodes coupled to a first chamber of the heart; a second pair of electrodes coupled to a second chamber of the heart; and a processor coupled to the first pair of electrodes and the second pair of electrodes and adapted to generate first impedance information as a function of a first voltage received by the first pair of electrodes in response to the current field and to generate second impedance information as a function of a second voltage received by the second pair of electrodes in response to the current field and generate a code as a function of a relationship between the first impedance information and the second impedance information.
 2. The device of claim 1 wherein the processor generates an error code if the first impedance information differs from the second impedance information.
 3. The device of claim 1 wherein the processor alternately monitors the first pair of electrodes and the second pair of electrodes.
 4. The device of claim 1 further including a therapy circuit coupled to the processor wherein the therapy circuit delivers therapy as a function of the code.
 5. The device of claim 4 wherein the therapy circuit includes a pulse generator.
 6. The device of claim 1 wherein the processor includes a filter to pass frequencies in a ventilation band.
 7. The device of claim 1 further including an accelerometer coupled to the processor and adapted to provide an acceleration signal and wherein the code is generated as a function of the acceleration signal.
 8. The device of claim 7 wherein the code is calculated based on a comparison of the first impedance information and second impedance information with the acceleration signal.
 9. The device of claim 1 wherein the processor generates a ventilation signal based on the code and impedance information selected from one of the first impedance information and the second impedance information.
 10. The device of claim 1 wherein the code is calculated based on a comparison of the first impedance information with the second impedance information.
 11. An implantable system comprising: a plurality of sensors, each sensor adapted to sense a thoracic parameter and provide a signal, the plurality of sensors including a first ventilation sensor adapted to sense a first impedance based on a first chamber of a heart in the thorax and a second ventilation sensor adapted to sense a second impedance based on a second chamber of the heart; a therapy circuit adapted to deliver therapy to the heart; and a processor coupled to each sensor and coupled to the therapy circuit and wherein the processor is adapted to evaluate the signal received from each sensor and calculate a confidence level as a function of the signal received from each sensor.
 12. The system of claim 11 wherein the plurality of sensors includes an acceleration sensor.
 13. The system of claim 11 further including an excitation circuit coupled to the heart and adapted to provide a transthoracic current field.
 14. An implantable system comprising: a first sensor to provide a first signal representative of a first ventilation rate derived from a first chamber of a heart; a second sensor to provide a second signal representative of a second ventilation rate derived from a second chamber of the heart; and a processor coupled to the first sensor and coupled to the second sensor and adapted to identify a relationship between the first signal and the second signal and generate a code as a function of the relationship.
 15. The system of claim 14 wherein at least one sensor of the first sensor and the second sensor includes a transthoracic impedance sensor.
 16. The system of claim 14 wherein at least one sensor of the first sensor and the second sensor includes a pair of excitation electrodes and a pair of sensor electrodes.
 17. The system of claim 14 further including an activity sensor coupled to the processor to provide an activity signal based on a detected physical activity.
 18. The system of claim 17 wherein the activity sensor includes an accelerometer.
 19. The system of claim 14 further including a therapy circuit coupled to the processor and wherein the therapy circuit delivers therapy as a function of the code.
 20. The system of claim 19 wherein the therapy circuit includes a pulse generator.
 21. An implantable device comprising: an excitation channel to generate a current field in a heart; a first impedance sensor to generate a first impedance signal based on a first voltage associated with a first chamber of the heart; a second impedance sensor to generate a second impedance signal based on a second voltage associated with a second chamber of the heart; a first accelerometer to generate a first acceleration signal based on a detected acceleration associated with the heart; a signal processor coupled to the first impedance sensor and adapted to generate a first ventilation signal and coupled to the second impedance sensor and adapted to generate a second ventilation signal; and a processor adapted to receive the first ventilation signal, the second ventilation signal and the first acceleration signal and adapted to generate a code based on a detected similarity.
 22. The implantable device of claim 21 wherein the first accelerometer has a first axis of sensitivity and further including a second accelerometer having a second axis of sensitivity wherein the first axis intersects the second axis and further wherein the processor is adapted to receive the second acceleration signal.
 23. The implantable device of claim 21 further including a telemetry circuit coupled to the processor and adapted to communicate with a remote programmer.
 24. The implantable device of claim 21 wherein the code is generated as a function of the first ventilation signal and the first acceleration signal at a first time and wherein the code is generated as a function of the second ventilation signal and the first acceleration signal at a second time, wherein the first time is prior to the second time.
 25. A method comprising: receiving a first signal representative of a first ventilation rate derived from a first chamber of a heart; receiving a second signal representative of a second ventilation rate derived from a second chamber of the heart; identifying a first relationship between the first ventilation rate and the second ventilation rate; and generating a code as a function of the first relationship.
 26. The method of claim 25 wherein at least one of receiving the first signal and receiving the second signal includes receiving an impedance signal.
 27. The method of claim 25 further including receiving an acceleration signal based on a detected acceleration and wherein the code is generated as a function of the detected acceleration.
 28. The method of claim 25 further including delivering therapy selected as a function of the code.
 29. An implantable system comprising: a first sensor adapted to provide a first impedance signal for a first chamber of a heart; a second sensor adapted to provide a second impedance signal for a second chamber of the heart; and a processor coupled to the first sensor and coupled to the second sensor and adapted to generate a first ventilation signal as a function of the first impedance signal and a second ventilation signal as a function of the second impedance signal and further adapted to identify a similarity between the first ventilation signal and the second ventilation signal and store a code having a value based on the similarity.
 30. The system of claim 29 wherein the first sensor includes a pair of excitation electrodes coupled to the first chamber.
 31. The system of claim 29 wherein the first sensor includes a pair of sensor electrodes coupled to the first chamber.
 32. The system of claim 29 further including a filter to pass the first impedance signal and the second impedance signal.
 33. The system of claim 29 further including a therapy circuit coupled to the processor wherein the therapy circuit is adapted to deliver therapy as a function of the code.
 34. The system of claim 33 wherein the processor is adapted to provide a first therapy signal to the therapy circuit when the similarity exists and adapted to provide a second therapy signal to the therapy circuit when the similarity does not exist and further wherein the therapy circuit delivers a first therapy regimen when the first therapy signal is received and a second therapy regimen when the second therapy signal is received.
 35. The system of claim 29 further including an accelerometer coupled to the processor and adapted to provide an acceleration signal and wherein the processor is adapted to select the value based on the acceleration signal when the similarity does not exist.
 36. The system of claim 29 further including a first accelerometer coupled to the processor and wherein the first accelerometer is adapted to provide a first acceleration signal and wherein the processor is adapted to select the value based on a comparison of the first acceleration signal and the first ventilation signal.
 37. The system of claim 36 wherein the first accelerometer has a first axis of sensitivity and further including a second accelerometer coupled to the processor, the second accelerometer having a second axis of sensitivity and wherein the first axis intersects the second axis and the processor is adapted to select the value based on a comparison of the second accelerometer signal and the first ventilation signal.
 38. A method comprising: receiving a first signal from a first sensor and a second signal from a second sensor, the signals based on activity of a heart; comparing the first signal and the second signal; if a similarity is detected in the comparing, then delivering a first therapy regimen to the heart; and if the similarity is not detected in the comparing, receiving a third signal based on activity of the heart and delivering a second therapy regimen to the heart, the third signal received from a third sensor and the second therapy regimen selected as a function of the third signal.
 39. The method of claim 38 wherein the second therapy regimen is selected as a function of a signal selected from the first signal and the second signal.
 40. The method of claim 38 wherein receiving the first signal and the second signal includes receiving a first ventilation signal associated with a first chamber of the heart and a second ventilation signal associated with a second chamber of the heart.
 41. The method of claim 40 wherein receiving the third signal includes receiving an accelerometer signal.
 42. The method of claim 38 wherein receiving the first signal and the second signal includes receiving a first acceleration signal associated with a first accelerometer having a first axis of sensitivity and a second accelerometer signal associated with a second accelerometer having a second axis of sensitivity that intersects the first axis, the first accelerometer and second accelerometer responsive to accelerations associated with the heart.
 43. The method of claim 42 wherein receiving the third signal includes receiving a ventilation signal from a chamber of the heart.
 44. The method of claim 38 wherein comparing the first signal and the second signal includes comparing a rate.
 45. The method of claim 38 wherein comparing the first signal and the second signal includes calculating a correlation coefficient.
 46. A method comprising: receiving a plurality of input signals corresponding to two or more chambers of a heart, the plurality of input signals including a first ventilation signal based on a first impedance associated with a first chamber of the heart and a second ventilation signal based on a second impedance associated with a second chamber of the heart; using a processor to detect a similarity in each input signal of the plurality of input signals; and delivering therapy to the heart based on the similarity.
 47. The method of claim 46 wherein receiving a plurality of input signals includes receiving a first accelerometer signal from a first accelerometer, the first accelerometer disposed proximate the heart.
 48. The method of claim 47 wherein receiving a plurality of input signals includes receiving a second accelerometer signal from a second accelerometer, the second accelerometer disposed proximate the heart, the first accelerometer having a first axis of sensitivity and the second accelerometer having a second axis of sensitivity and wherein the first axis intersects the second axis.
 49. The method of claim 47 wherein delivering therapy includes delivering a first therapy regimen if the similarity exists in the first ventilation signal and the second ventilation signal and delivering a second therapy regimen if the similarity does not exist in the first ventilation signal and the second ventilation signal.
 50. The method of claim 49 wherein receiving the plurality of input signals includes receiving an acceleration signal and wherein delivering a second therapy regimen includes selecting a therapy regimen based on the acceleration signal.
 51. The method of claim 46 wherein receiving a plurality of input signals includes generating an excitation current field using a first electrode pair and sensing a voltage using a second electrode pair.
 52. The method of claim 46 wherein determining therapy includes selecting the therapy and wherein using the processor to compare each input signal includes identifying an inappropriate input signal in the plurality of input signals and wherein delivering therapy includes de-emphasizing the inappropriate input signal in selecting the therapy.
 53. A system comprising: means for generating a current field in a thorax; means for generating a first ventilation signal based on a first transthoracic impedance measured by a first pair of electrodes responsive to a first chamber of a heart in the thorax; means for generating a second ventilation signal based on a second transthoracic impedance measured by a second pair of electrodes responsive to a second chamber of the heart; first accelerometer means coupled to the heart and adapted to provide a first acceleration signal as a function of a sensed acceleration associated with the heart along a first axis; processor means coupled to the means for generating the first ventilation signal and coupled to the means for generating the second ventilation signal and coupled to the first accelerometer means and adapted to generate a code as a function of a detected similarity between the first ventilation signal, the second ventilation signal and the first acceleration signal; and therapy means coupled to the processor means and adapted to deliver therapy to the heart as a function of the detected similarity.
 54. The system of claim 53 further including a second accelerometer means coupled to the heart and adapted to provide a second acceleration signal as a function of a sensed acceleration associated with the heart along a second axis, wherein the first axis intersects the second axis.
 55. The system of claim 53 further including telemetry means coupled to the processor means and adapted to communicate with a remote programmer. 